{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登陆</title>
</head>
<body>
<div>
    <form   action="{% url 'spi:login' %}" method="post" >
        {% csrf_token %}
        <input type="text"  name="username" id="username" placeholder="用户名"><br>
        <input type="password"  name="password" id="password" placeholder="密码"><br>
        <button type="submit" value="登陆">登陆</button>
    </form>
</div>
</body>
</html>